?><?
class cls_finance_rate extends cls_entity{
  function entity(){return "finance_rate";}
  function get(){
    if(getSet("finance_rate_update")!=date("d")){
    
    }
    return array(
      "USD"=>array("centr"=>getSet("finance_usd_centr"),"sale"=>getSet("finance_usd_sale"),"buy"=>getSet("finance_usd_buy")),
      "EUR"=>array("centr"=>getSet("finance_usd_centr"),"sale"=>getSet("finance_eur_sale"),"buy"=>getSet("finance_eur_buy")),
    );
  }
}